﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Algorithm
{
    class CWebPageConcreteFactory_MayBank : CWebPageAbstractFactory
    {
        private CJumperConcreteProduct_MayBank m_jumperConcreteProduct_MayBank = null;
        private CParserConcreteProduct_MayBank m_parserConcreteProduct_MayBank = null;

        public CWebPageConcreteFactory_MayBank()
        {            
            m_jumperConcreteProduct_MayBank = new CJumperConcreteProduct_MayBank();
            m_parserConcreteProduct_MayBank =  new CParserConcreteProduct_MayBank();

        }

        public override CJumperAbstractProduct GetJumpingStyleConcreteProduct()
        {
            return m_jumperConcreteProduct_MayBank;
        }

        public override CParserAbstractProduct GetParserConcreteProduct()
        {
            return m_parserConcreteProduct_MayBank;
        }
    }
}
